package com.niuniu.rushdorm.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName(value = "beds")
public class Bed {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Long uid;
    @TableField(value = "room_id")
    private Integer roomId;
    private String name;
    @TableField(value = "order_num")
    private Integer orderNum;
    @TableField(value = "is_valid")
    private Integer isValid;
    private String remarks;
    @TableField(value = "is_del")
    @TableLogic(value = "0", delval = "1")
    private Integer isDel;
    private Integer status;
}
